﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>牢骚客 - 思绪像薄雾，汇集起来方成露珠</title>
    <meta http-equiv="refresh" content="500">
    <link type="text/css" rel="stylesheet" href="/st/css/main.css" />
</head>
<body>
<h1>思绪像薄雾，汇集起来方成露珠</h1>
<div class="InputArea">
	<form id="form_main" name="main" action="/sign" method="post">
		<input id="name" type="text" name="name" onblur="setName2()" onfocus="setName()" maxlength="10" size="20">&nbsp;&nbsp;
		<input type="button" name='add_img' value="贴图" id="btnShowInsertImg">
		<div class="ExtArea" id="divInsertImg" style="display:none;">
			<div>
				<span>请选择类型：</span>
				<input type="radio" checked="checked" name="insertType" value="img"><span>图片</span>&nbsp;&nbsp;
				<input type="radio" name="insertType" value="video"><span>视频</span>
			</div>
			<div>
				<span>对齐方式：</span>
				<input type="radio" name="alignType" value="left"><span>左</span>&nbsp;&nbsp;
			 	<input type="radio" checked="checked" name="alignType" value="middle"><span>中</span>&nbsp;&nbsp;
			 	<input type="radio" name="alignType" value="right"><span>右</span>&nbsp;&nbsp;
			</div>
			<div>
				<span>链接地址：</span>
				<input type="text" id="txtInsertURL" value="" size="40">
			</div>
			<div>
				<input type="button" name="yes" value="确定" id="btnInsertImg">&nbsp;&nbsp;<input type="button" name="no" value="取消" id="btnCancelInsertImg">
			</div>
		</div>
		<textarea id="content" name="content" rows="5" cols="60"></textarea>
		<div class="Button">
			<input type="button" onClick="checkValid()" value=" 发牢骚 " id="Submitbutton">
		</div>
	</form>   
</div>
<div id="divList">
	<div class="blank">&nbsp;</div>
	<div class="blank">&nbsp;</div>
	{% for greeting in greetings %}
	<div name="divcontent" class="Post">
	<p><span class="Time">{{ greeting.date|date:"M-d H:i:s" }}</span>&nbsp;<span class="People">
	{% if greeting.author %}
		{{ greeting.author }}
	{% else %}
		匿名人士
	{% endif %}
	</span>{{ greeting.socre_tq }}&nbsp;发牢骚说：</p>
	<p>{{ greeting.content }}</p>
<!--	<span class="feedback">同情()</span>
	<span class="feedback">羡慕()</span>
-->
	</div>
	<div class="blank">&nbsp;</div>
	{% endfor %}
</div>
<div class="More">
		<input type='button' value=" more " id='MoreButton'>
</div>

<p>&copy;2010 Copyright by <a href="mailto:huangji@baidu.com">Jesson</a> / <a href="mailto:greg.s.he@newegg.com">Greg</a> / <a href="mailto:yanghao@staff.sina.com.cn">Random</a>. All rights reserved.</p>
<script type="text/javascript">
	var $Overall={
		more:{start:21,len:5}
	};
</script>
<script type="text/javascript" src="/js/Aralork.js"></script>
<script type="text/javascript" src="/js/Caesar.js"></script>
</body>
</html>
